package unimelb.distSystems.game.elements;

import com.jme3.light.DirectionalLight;
import com.jme3.math.Vector3f;
import com.jme3.scene.Node;

public class Light {
	
	DirectionalLight dl;
	
	public void addLight(Node rootNode)
	{
		dl = new DirectionalLight();
		dl.setDirection(new Vector3f(0.5f, -1f, 0.3f).normalizeLocal());
		rootNode.addLight(dl);
	}

}
